﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace framework.map
{
    public class CurveGen
    {

        static string intex, outtex, blanktex, toptex, bottex;
        static int rndnum(int max, int min)
        {
            Random r = new Random();
            int test = 0;
            while (true)
            {
                test = r.Next(max);
                if (test >= min)
                    break;
            }
            return test;

        }
        public static void setTextures(string top, string outs, string ins, string bot, string blank)
        {
            intex = ins;
            bottex = bot;
            toptex = top;
            outtex = outs;
            blanktex = blank;
        }

        public static string generateArgs(int ir, int or, int l, int ba, int ea)
        {
            string s = " ";
            return ir.ToString() + s +
                   or.ToString() + s +
                   l.ToString()  + s +
                   ba.ToString() + s +
                   ea.ToString() + s;
        }
    }
}
